using System;

namespace GeneralLibs
{
    public partial class FrmEditDanhMuc : FrmOKCancel
    {
        public FrmEditDanhMuc()
        {
            InitializeComponent();
        }

        protected virtual bool CheckFullInfo()
        {
            return true;
        }

        protected virtual void Save()
        {
        }

        public void btnOK_Click_1(object sender, EventArgs e)
        {
            try
            {
                CheckFullInfo();
                Save();
            }
            catch (Exception ex)
            {
                GeneralLibs.FrmExceptionNotifier.ShowAndLog(ex);
            }
        }
    }
}